package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author yuanjie
 * @since 2022-11-23
 */
@Data
@TableName("TMS_OrderGoods_KidsKing")
@ApiModel(value = "OrdergoodsKidskingDO对象", description = "")
public class OrderGoodsKidsKingDO implements Serializable {


    private static final long serialVersionUID = 8610185624342187537L;
    @ApiModelProperty("订单物品编号")
    @TableId(value = "GoodsLst_ID", type = IdType.AUTO)
    private Long goodslstId;

    @ApiModelProperty("所属订单")
    private Long goodslstOrderid;

    @ApiModelProperty("物品编号")
    private Long goodslstGoodsid;

    @ApiModelProperty("物品编码(冗余)")
    private String goodslstCode;

    @ApiModelProperty("物品名称")
    private String goodslstName;

    @ApiModelProperty("物品数量")
    private Double goodslstQty;

    @ApiModelProperty("重量")
    private Double goodslstWeight;

    @ApiModelProperty("体积")
    private Double goodslstVolume;

    @ApiModelProperty("实际签收数量")
    private Double goodslstReceiptqty;

    @ApiModelProperty("异常数量")
    private Double goodslstExceptionqty;

    @ApiModelProperty("创建人")
    private Long goodslstCreator;

    @ApiModelProperty("创建时间")
    private LocalDateTime goodslstInserttime;

    @ApiModelProperty("修改人")
    private Long goodslstUpdater;

    @ApiModelProperty("修改时间")
    private LocalDateTime goodslstUpdatetime;

    @ApiModelProperty("是否失效")
    private Integer goodslstInvalid;

    @ApiModelProperty("备注")
    private String goodslstComments;

    @ApiModelProperty("价格单位")
    private Long goodslstUnit;

    @ApiModelProperty("批次")
    private String goodslstBatchno;

    @ApiModelProperty("单价")
    private Double goodslstPrice;

    @ApiModelProperty("无税单价")
    private BigDecimal goodslstNotaxunitprice;

    @ApiModelProperty("无税总价")
    private BigDecimal goodslstNotaxprice;

    @ApiModelProperty("包税单价")
    private BigDecimal goodslstTaxprice;

    @ApiModelProperty("包税总价")
    private BigDecimal goodslstTotalprice;

    @ApiModelProperty("异常数量")
    private Double goodslstExceptionqtytemp;

    @ApiModelProperty("异常类型 ")
    private Long goodslstExceptiontype;

    @ApiModelProperty("回单实签复查")
    private Double goodslstReceiptqtyV;

    @ApiModelProperty("回单异常数复查")
    private Double goodslstExceptionqtyV;

    @ApiModelProperty("回单复查异常类型")
    private Long goodslstExceptiontypeV;

    @ApiModelProperty("下单物品排序")
    private Integer goodslstNoid;

    @ApiModelProperty("拒签批号(奇正藏药)")
    private String goodslstRefusedno;

    @ApiModelProperty("行项目折扣（未税）")
    private Double goodslsrKbetrWs;

    @ApiModelProperty("行项目折扣（税）")
    private Double goodslstMwsbpZk;

    @ApiModelProperty("行项目税额")
    private Double goodslstMwsbp;

    @ApiModelProperty("行项目折扣 top")
    private Double goodslstKbetr;

    @ApiModelProperty("异常-缺少数量")
    private Double goodslstLackqty;

    @ApiModelProperty("异常-丢失数量")
    private Double goodslstLoseqty;

    @ApiModelProperty("异常-破损数量")
    private Double goodslstDamageqty;

    @ApiModelProperty("异常-其他数量")
    private Double goodslstOtherqty;

    @ApiModelProperty("异常-异常描述")
    private String goodslstExceptiondesc;

    @ApiModelProperty("回单异常-缺少数量复核")
    private Double goodslstLackqtyV;

    @ApiModelProperty("回单异常-丢失数量复核")
    private Double goodslstLoseqtyV;

    @ApiModelProperty("回单异常-破损数量复核")
    private Double goodslstDamageqtyV;

    @ApiModelProperty("回单异常-其他数量复核")
    private Double goodslstOtherqtyV;

    @ApiModelProperty("异常标签 0 无   1 回单异常  2 签收异常")
    private Integer goodslstExceptiontag;

    @ApiModelProperty("物品规格")
    private String goodslstSpc;

    @ApiModelProperty("物品编码")
    private String goodslstBarcode;

    @ApiModelProperty("单个物品价格")
    private Double goodslstSingleprice;

    @ApiModelProperty("单个物品重量")
    private Double goodslstSingleweight;

    @ApiModelProperty("单个物品体积")
    private Double goodslstSinglevolume;

    @ApiModelProperty("仓库")
    private String goodslstFactoryno;

    @ApiModelProperty("客户通过下单时填写的信息，物流源只存储，暂不做业务逻辑处理")
    private String goodslstEcho;

    private String goodslstExtenddoc1;

    private String goodslstExceptiondescV;

    private Integer optStatus;


}
